home *** CD-ROM | disk | FTP | other *** search
/ CU Amiga Super CD-ROM 23 / CU Amiga - Super CD-ROM 23 (June 1998).iso / CreatingGames / Utilities / Misc / GMS / GMSDev / Includes / files / segments.i < prev   
Encoding:
Text File  |  1997-09-09  |  814 b   |  36 lines

  1.     IFND FILES_SEGMENTS_I
  2. FILES_SEGMENTS_I  SET  1
  3.  
  4. **
  5. **    $VER: segments.i V0.8B
  6. **
  7. **    Segment Definitions.
  8. **
  9. **    (C) Copyright 1996-1997 DreamWorld Productions.
  10. **        All Rights Reserved
  11. **
  12.  
  13.     IFND    DPKERNEL_I
  14.     include 'games/dpkernel.i'
  15.     ENDC
  16.  
  17. ****************************************************************************
  18. * Segment object.
  19.  
  20. SEGVERSION   = 1
  21. TAGS_SEGMENT = (ID_SPCTAGS<<16)|ID_SEGMENT
  22.  
  23.    STRUCTURE    SEG,HEAD_SIZEOF  ;Standard header.
  24.     APTR    SEG_Prev         ;Previous segment.
  25.     APTR    SEG_Next         ;Next segment.
  26.     LONG    SEG_MemType      ;Memory type (eg MEM_DATA).
  27.     APTR    SEG_Address      ;Pointer to segment start.
  28.     APTR    SEG_Source       ;Source of segment (NB: FileName only).
  29.  
  30. SGA_Prev   = (TAPTR|SEG_Prev)
  31. SGA_Next   = (TAPTR|SEG_Next)
  32. SGA_Source = (TAPTR|SEG_Source)
  33.  
  34.   ENDC    ;FILES_SEGMENTS_I
  35.  
  36.